package com.qf.pojo;


import java.io.Serializable;


/**
 *  状态推送报告 , 发送的es信息.
 */

public class StandardReport implements Serializable {

    /**
     *  唯一的序列标识
     */
    private String sequenceId;

    /**
     * 目的号码
     */
    private String mobile;

    /**
     * 定长4个字节 发送状态      "0 发送成功"       "1 等待发送"       "2 发送失败"
     */
    private int state;   // 2.

    /**
     * 具体发送状态
     */
    private String errorCode;

    /**
     * 客户侧唯一序列号
     */
    private long srcID;
    /**
     * 客户ID
     */
    private long clientID;
    /**
     * 响应返回的运营商消息编号,
     */
    private String msgId;   // 网关模块给了.


    /**
     * 状态报告推送次数  TTL
     */
    private int sendCount = 0;   // 1,2,3,4,5    立即推送,10s之后， 30s之后， 1min， 5min

    /**
     * 回调地址
     */
    private String receiveStatusUrl;


    public void setClientID() {
    }

    public String getSequenceId() {
        return sequenceId;
    }

    public void setSequenceId(String sequenceId) {
        this.sequenceId = sequenceId;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public long getSrcID() {
        return srcID;
    }

    public void setSrcID(long srcID) {
        this.srcID = srcID;
    }

    public long getClientID() {
        return clientID;
    }

    public void setClientID(long clientID) {
        this.clientID = clientID;
    }

    public String getMsgId() {
        return msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }

    public int getSendCount() {
        return sendCount;
    }

    public void setSendCount(int sendCount) {
        this.sendCount = sendCount;
    }

    public String getReceiveStatusUrl() {
        return receiveStatusUrl;
    }

    public void setReceiveStatusUrl(String receiveStatusUrl) {
        this.receiveStatusUrl = receiveStatusUrl;
    }
}
